package com.vcc.data.entity;


import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.vcc.data.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@Setter
@Getter
@Table(value = "vcc_task_log")
public class TaskLog extends BaseEntity implements Serializable {

    @Column(comment = "订单号",value = "order_id")
    private String orderId;

    @Column(comment = "用户ID",value = "user_id")
    private Long userId;

    @Column(comment = "请求时间",value = "request_date")
    private Date requestDate;

    /**
     * 0 充值  1  转出 2  冻结  3 解冻  4 销卡
     */
    @Column(comment = "类型",value = "use_flag")
    private Integer useFlag;


    @Column(comment = "备注",value = "remark")
    private String remark;


    @Column(comment = "完成时间",value = "completion_date")
    private Date completionDate;

    /**
     * 0 成功 1  失败  2  等待中
     */
    @Column(comment = "状态",value = "status")
    private Integer status;

}
